package com.blockmeta.bbs.businesslibrary.websocket;


import com.blockmeta.bbs.businesslibrary.iosocket.client.Socket;

import okio.ByteString;

interface ISocketIOManager {

  Socket getSocket();

  void startConnect();

  void stopConnect();

  boolean isConnected();

  int getCurrentStatus();

  void setCurrentStatus(int currentStatus);

  boolean sendMessage(String event, String msg);

  boolean sendMessage(String event, Object msg);

  boolean sendMessage(String event, ByteString byteString);
}
